package kr.or.eclipse.democamp;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Contact {
	private String name = "";

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private String mail = "";

	private String phoneNumber = "";
	private String company = "";

	private Boolean mailConfirmed = false;

	public Contact() {
	}

	public String getCompany() {
		return company;
	}

	public String getMail() {
		return mail;
	}

	public Boolean getMailConfirmed() {
		return mailConfirmed;
	}

	public String getName() {
		return name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public void setMailConfirmed(Boolean mailConfirmed) {
		this.mailConfirmed = mailConfirmed;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

}
